<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>S (owl.Owl_dense_matrix.S)</title><link rel="stylesheet" href="../../../odoc.css"/><meta charset="utf-8"/><meta name="generator" content="odoc %%VERSION%%"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><div class="content"><header><nav><a href="../index.html">Up</a> – <a href="../../index.html">owl</a> &#x00BB; <a href="../index.html">Owl_dense_matrix</a> &#x00BB; S</nav><h1>Module <code>Owl_dense_matrix.S</code></h1></header><div><div class="spec include"><div class="doc"><details open="open"><summary><span class="def"><code><span class="keyword">include</span> <a href="../../Owl_dense_matrix_s/index.html">Owl_dense_matrix_s</a></code></span></summary><dl><dt class="spec type" id="type-elt"><a href="#type-elt" class="anchor"></a><code><span class="keyword">type</span> elt</code><code> = float</code></dt><dt class="spec type" id="type-mat"><a href="#type-mat" class="anchor"></a><code><span class="keyword">type</span> mat</code><code> = <span><span>(float, Stdlib.Bigarray.float32_elt)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span></code></dt></dl><div><div class="spec include"><div class="doc"><details open="open"><summary><span class="def"><code><span class="keyword">include</span> <a href="../../Owl_dense_matrix_intf/index.html#module-type-Common">Owl_dense_matrix_intf.Common</a> <span class="keyword">with</span> <span class="keyword">type</span> <a href="../../Owl_dense_matrix_intf/module-type-Common/index.html#type-elt">elt</a> := <a href="index.html#type-elt">elt</a> <span class="keyword">and</span> <span class="keyword">type</span> <a href="../../Owl_dense_matrix_intf/module-type-Common/index.html#type-mat">mat</a> := <a href="index.html#type-mat">mat</a></code></span></summary><dl><dt class="spec type" id="type-elt"><a href="#type-elt" class="anchor"></a><code><span class="keyword">type</span> elt</code></dt><dt class="spec type" id="type-mat"><a href="#type-mat" class="anchor"></a><code><span class="keyword">type</span> mat</code></dt></dl><section><header><h6 id="create-dense-matrices"><a href="#create-dense-matrices" class="anchor"></a>Create dense matrices</h6></header><dl><dt class="spec value" id="val-empty"><a href="#val-empty" class="anchor"></a><code><span class="keyword">val</span> empty : int <span>&#45;&gt;</span> int <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-create"><a href="#val-create" class="anchor"></a><code><span class="keyword">val</span> create : int <span>&#45;&gt;</span> int <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-init"><a href="#val-init" class="anchor"></a><code><span class="keyword">val</span> init : int <span>&#45;&gt;</span> int <span>&#45;&gt;</span> <span>(int <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a>)</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-init_2d"><a href="#val-init_2d" class="anchor"></a><code><span class="keyword">val</span> init_2d : int <span>&#45;&gt;</span> int <span>&#45;&gt;</span> <span>(int <span>&#45;&gt;</span> int <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a>)</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-zeros"><a href="#val-zeros" class="anchor"></a><code><span class="keyword">val</span> zeros : int <span>&#45;&gt;</span> int <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-ones"><a href="#val-ones" class="anchor"></a><code><span class="keyword">val</span> ones : int <span>&#45;&gt;</span> int <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-eye"><a href="#val-eye" class="anchor"></a><code><span class="keyword">val</span> eye : int <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-sequential"><a href="#val-sequential" class="anchor"></a><code><span class="keyword">val</span> sequential : <span>?&#8288;a:<a href="index.html#type-elt">elt</a></span> <span>&#45;&gt;</span> <span>?&#8288;step:<a href="index.html#type-elt">elt</a></span> <span>&#45;&gt;</span> int <span>&#45;&gt;</span> int <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-uniform"><a href="#val-uniform" class="anchor"></a><code><span class="keyword">val</span> uniform : <span>?&#8288;a:<a href="index.html#type-elt">elt</a></span> <span>&#45;&gt;</span> <span>?&#8288;b:<a href="index.html#type-elt">elt</a></span> <span>&#45;&gt;</span> int <span>&#45;&gt;</span> int <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-gaussian"><a href="#val-gaussian" class="anchor"></a><code><span class="keyword">val</span> gaussian : <span>?&#8288;mu:<a href="index.html#type-elt">elt</a></span> <span>&#45;&gt;</span> <span>?&#8288;sigma:<a href="index.html#type-elt">elt</a></span> <span>&#45;&gt;</span> int <span>&#45;&gt;</span> int <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-bernoulli"><a href="#val-bernoulli" class="anchor"></a><code><span class="keyword">val</span> bernoulli : <span>?&#8288;p:float</span> <span>&#45;&gt;</span> int <span>&#45;&gt;</span> int <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-unit_basis"><a href="#val-unit_basis" class="anchor"></a><code><span class="keyword">val</span> unit_basis : int <span>&#45;&gt;</span> int <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-diagm"><a href="#val-diagm" class="anchor"></a><code><span class="keyword">val</span> diagm : <span>?&#8288;k:int</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-triu"><a href="#val-triu" class="anchor"></a><code><span class="keyword">val</span> triu : <span>?&#8288;k:int</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-tril"><a href="#val-tril" class="anchor"></a><code><span class="keyword">val</span> tril : <span>?&#8288;k:int</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-symmetric"><a href="#val-symmetric" class="anchor"></a><code><span class="keyword">val</span> symmetric : <span>?&#8288;upper:bool</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-bidiagonal"><a href="#val-bidiagonal" class="anchor"></a><code><span class="keyword">val</span> bidiagonal : <span>?&#8288;upper:bool</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-toeplitz"><a href="#val-toeplitz" class="anchor"></a><code><span class="keyword">val</span> toeplitz : <span>?&#8288;c:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-hankel"><a href="#val-hankel" class="anchor"></a><code><span class="keyword">val</span> hankel : <span>?&#8288;r:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-hadamard"><a href="#val-hadamard" class="anchor"></a><code><span class="keyword">val</span> hadamard : int <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-magic"><a href="#val-magic" class="anchor"></a><code><span class="keyword">val</span> magic : int <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt></dl></section><section><header><h6 id="dense-row-vectors-and-meshgrids"><a href="#dense-row-vectors-and-meshgrids" class="anchor"></a>Dense row vectors and meshgrids</h6></header><dl><dt class="spec value" id="val-vector"><a href="#val-vector" class="anchor"></a><code><span class="keyword">val</span> vector : int <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-vector_zeros"><a href="#val-vector_zeros" class="anchor"></a><code><span class="keyword">val</span> vector_zeros : int <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-vector_ones"><a href="#val-vector_ones" class="anchor"></a><code><span class="keyword">val</span> vector_ones : int <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-vector_uniform"><a href="#val-vector_uniform" class="anchor"></a><code><span class="keyword">val</span> vector_uniform : int <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-linspace"><a href="#val-linspace" class="anchor"></a><code><span class="keyword">val</span> linspace : <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> int <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-logspace"><a href="#val-logspace" class="anchor"></a><code><span class="keyword">val</span> logspace : <span>?&#8288;base:float</span> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> int <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-meshgrid"><a href="#val-meshgrid" class="anchor"></a><code><span class="keyword">val</span> meshgrid : <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> int <span>&#45;&gt;</span> int <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> * <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-meshup"><a href="#val-meshup" class="anchor"></a><code><span class="keyword">val</span> meshup : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> * <a href="index.html#type-mat">mat</a></code></dt></dl></section><section><header><h6 id="obtain-the-basic-properties-of-a-matrix"><a href="#obtain-the-basic-properties-of-a-matrix" class="anchor"></a>Obtain the basic properties of a matrix</h6></header><dl><dt class="spec value" id="val-shape"><a href="#val-shape" class="anchor"></a><code><span class="keyword">val</span> shape : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> int * int</code></dt><dt class="spec value" id="val-row_num"><a href="#val-row_num" class="anchor"></a><code><span class="keyword">val</span> row_num : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> int</code></dt><dt class="spec value" id="val-col_num"><a href="#val-col_num" class="anchor"></a><code><span class="keyword">val</span> col_num : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> int</code></dt><dt class="spec value" id="val-numel"><a href="#val-numel" class="anchor"></a><code><span class="keyword">val</span> numel : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> int</code></dt><dt class="spec value" id="val-nnz"><a href="#val-nnz" class="anchor"></a><code><span class="keyword">val</span> nnz : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> int</code></dt><dt class="spec value" id="val-density"><a href="#val-density" class="anchor"></a><code><span class="keyword">val</span> density : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> float</code></dt><dt class="spec value" id="val-size_in_bytes"><a href="#val-size_in_bytes" class="anchor"></a><code><span class="keyword">val</span> size_in_bytes : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> int</code></dt><dt class="spec value" id="val-same_shape"><a href="#val-same_shape" class="anchor"></a><code><span class="keyword">val</span> same_shape : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-same_data"><a href="#val-same_data" class="anchor"></a><code><span class="keyword">val</span> same_data : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> bool</code></dt></dl></section><section><header><h6 id="manipulate-a-matrix"><a href="#manipulate-a-matrix" class="anchor"></a>Manipulate a matrix</h6></header><dl><dt class="spec value" id="val-get"><a href="#val-get" class="anchor"></a><code><span class="keyword">val</span> get : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> int <span>&#45;&gt;</span> int <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a></code></dt><dt class="spec value" id="val-set"><a href="#val-set" class="anchor"></a><code><span class="keyword">val</span> set : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> int <span>&#45;&gt;</span> int <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-get_index"><a href="#val-get_index" class="anchor"></a><code><span class="keyword">val</span> get_index : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <span><span>int array</span> array</span> <span>&#45;&gt;</span> <span><a href="index.html#type-elt">elt</a> array</span></code></dt><dt class="spec value" id="val-set_index"><a href="#val-set_index" class="anchor"></a><code><span class="keyword">val</span> set_index : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <span><span>int array</span> array</span> <span>&#45;&gt;</span> <span><a href="index.html#type-elt">elt</a> array</span> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-get_fancy"><a href="#val-get_fancy" class="anchor"></a><code><span class="keyword">val</span> get_fancy : <span><a href="../../../owl-base/Owl_types/index.html#type-index">Owl_types.index</a> list</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-set_fancy"><a href="#val-set_fancy" class="anchor"></a><code><span class="keyword">val</span> set_fancy : <span><a href="../../../owl-base/Owl_types/index.html#type-index">Owl_types.index</a> list</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-get_slice"><a href="#val-get_slice" class="anchor"></a><code><span class="keyword">val</span> get_slice : <span><span>int list</span> list</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-set_slice"><a href="#val-set_slice" class="anchor"></a><code><span class="keyword">val</span> set_slice : <span><span>int list</span> list</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-row"><a href="#val-row" class="anchor"></a><code><span class="keyword">val</span> row : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> int <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-col"><a href="#val-col" class="anchor"></a><code><span class="keyword">val</span> col : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> int <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-rows"><a href="#val-rows" class="anchor"></a><code><span class="keyword">val</span> rows : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <span>int array</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-cols"><a href="#val-cols" class="anchor"></a><code><span class="keyword">val</span> cols : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <span>int array</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-resize"><a href="#val-resize" class="anchor"></a><code><span class="keyword">val</span> resize : <span>?&#8288;head:bool</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <span>int array</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-reshape"><a href="#val-reshape" class="anchor"></a><code><span class="keyword">val</span> reshape : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <span>int array</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-flatten"><a href="#val-flatten" class="anchor"></a><code><span class="keyword">val</span> flatten : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-reverse"><a href="#val-reverse" class="anchor"></a><code><span class="keyword">val</span> reverse : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-flip"><a href="#val-flip" class="anchor"></a><code><span class="keyword">val</span> flip : <span>?&#8288;axis:int</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-rotate"><a href="#val-rotate" class="anchor"></a><code><span class="keyword">val</span> rotate : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> int <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-reset"><a href="#val-reset" class="anchor"></a><code><span class="keyword">val</span> reset : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-fill"><a href="#val-fill" class="anchor"></a><code><span class="keyword">val</span> fill : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-copy"><a href="#val-copy" class="anchor"></a><code><span class="keyword">val</span> copy : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-copy_row_to"><a href="#val-copy_row_to" class="anchor"></a><code><span class="keyword">val</span> copy_row_to : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> int <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-copy_col_to"><a href="#val-copy_col_to" class="anchor"></a><code><span class="keyword">val</span> copy_col_to : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> int <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-concat_vertical"><a href="#val-concat_vertical" class="anchor"></a><code><span class="keyword">val</span> concat_vertical : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-concat_horizontal"><a href="#val-concat_horizontal" class="anchor"></a><code><span class="keyword">val</span> concat_horizontal : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-concat_vh"><a href="#val-concat_vh" class="anchor"></a><code><span class="keyword">val</span> concat_vh : <span><span><a href="index.html#type-mat">mat</a> array</span> array</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-concatenate"><a href="#val-concatenate" class="anchor"></a><code><span class="keyword">val</span> concatenate : <span>?&#8288;axis:int</span> <span>&#45;&gt;</span> <span><a href="index.html#type-mat">mat</a> array</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-split"><a href="#val-split" class="anchor"></a><code><span class="keyword">val</span> split : <span>?&#8288;axis:int</span> <span>&#45;&gt;</span> <span>int array</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <span><a href="index.html#type-mat">mat</a> array</span></code></dt><dt class="spec value" id="val-split_vh"><a href="#val-split_vh" class="anchor"></a><code><span class="keyword">val</span> split_vh : <span><span><span>(int * int)</span> array</span> array</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <span><span><a href="index.html#type-mat">mat</a> array</span> array</span></code></dt><dt class="spec value" id="val-transpose"><a href="#val-transpose" class="anchor"></a><code><span class="keyword">val</span> transpose : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-ctranspose"><a href="#val-ctranspose" class="anchor"></a><code><span class="keyword">val</span> ctranspose : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-diag"><a href="#val-diag" class="anchor"></a><code><span class="keyword">val</span> diag : <span>?&#8288;k:int</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-swap_rows"><a href="#val-swap_rows" class="anchor"></a><code><span class="keyword">val</span> swap_rows : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> int <span>&#45;&gt;</span> int <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-swap_cols"><a href="#val-swap_cols" class="anchor"></a><code><span class="keyword">val</span> swap_cols : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> int <span>&#45;&gt;</span> int <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-tile"><a href="#val-tile" class="anchor"></a><code><span class="keyword">val</span> tile : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <span>int array</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-repeat"><a href="#val-repeat" class="anchor"></a><code><span class="keyword">val</span> repeat : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <span>int array</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-pad"><a href="#val-pad" class="anchor"></a><code><span class="keyword">val</span> pad : <span>?&#8288;v:<a href="index.html#type-elt">elt</a></span> <span>&#45;&gt;</span> <span><span>int list</span> list</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-dropout"><a href="#val-dropout" class="anchor"></a><code><span class="keyword">val</span> dropout : <span>?&#8288;rate:float</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-top"><a href="#val-top" class="anchor"></a><code><span class="keyword">val</span> top : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> int <span>&#45;&gt;</span> <span><span>int array</span> array</span></code></dt><dt class="spec value" id="val-bottom"><a href="#val-bottom" class="anchor"></a><code><span class="keyword">val</span> bottom : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> int <span>&#45;&gt;</span> <span><span>int array</span> array</span></code></dt><dt class="spec value" id="val-sort"><a href="#val-sort" class="anchor"></a><code><span class="keyword">val</span> sort : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-argsort"><a href="#val-argsort" class="anchor"></a><code><span class="keyword">val</span> argsort : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <span><span>(int64, Stdlib.Bigarray.int64_elt, Stdlib.Bigarray.c_layout)</span> Stdlib.Bigarray.Genarray.t</span></code></dt></dl></section><section><header><h6 id="iterate-elements,-columns,-and-rows."><a href="#iterate-elements,-columns,-and-rows." class="anchor"></a>Iterate elements, columns, and rows.</h6></header><dl><dt class="spec value" id="val-iteri"><a href="#val-iteri" class="anchor"></a><code><span class="keyword">val</span> iteri : <span>(int <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> unit)</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-iter"><a href="#val-iter" class="anchor"></a><code><span class="keyword">val</span> iter : <span>(<a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> unit)</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-mapi"><a href="#val-mapi" class="anchor"></a><code><span class="keyword">val</span> mapi : <span>(int <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a>)</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-map"><a href="#val-map" class="anchor"></a><code><span class="keyword">val</span> map : <span>(<a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a>)</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-foldi"><a href="#val-foldi" class="anchor"></a><code><span class="keyword">val</span> foldi : <span>?&#8288;axis:int</span> <span>&#45;&gt;</span> <span>(int <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a>)</span> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-fold"><a href="#val-fold" class="anchor"></a><code><span class="keyword">val</span> fold : <span>?&#8288;axis:int</span> <span>&#45;&gt;</span> <span>(<a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a>)</span> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-scani"><a href="#val-scani" class="anchor"></a><code><span class="keyword">val</span> scani : <span>?&#8288;axis:int</span> <span>&#45;&gt;</span> <span>(int <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a>)</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-scan"><a href="#val-scan" class="anchor"></a><code><span class="keyword">val</span> scan : <span>?&#8288;axis:int</span> <span>&#45;&gt;</span> <span>(<a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a>)</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-filteri"><a href="#val-filteri" class="anchor"></a><code><span class="keyword">val</span> filteri : <span>(int <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> bool)</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <span>int array</span></code></dt><dt class="spec value" id="val-filter"><a href="#val-filter" class="anchor"></a><code><span class="keyword">val</span> filter : <span>(<a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> bool)</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <span>int array</span></code></dt><dt class="spec value" id="val-iteri_2d"><a href="#val-iteri_2d" class="anchor"></a><code><span class="keyword">val</span> iteri_2d : <span>(int <span>&#45;&gt;</span> int <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> unit)</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-mapi_2d"><a href="#val-mapi_2d" class="anchor"></a><code><span class="keyword">val</span> mapi_2d : <span>(int <span>&#45;&gt;</span> int <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a>)</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-foldi_2d"><a href="#val-foldi_2d" class="anchor"></a><code><span class="keyword">val</span> foldi_2d : <span>?&#8288;axis:int</span> <span>&#45;&gt;</span> <span>(int <span>&#45;&gt;</span> int <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a>)</span> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-scani_2d"><a href="#val-scani_2d" class="anchor"></a><code><span class="keyword">val</span> scani_2d : <span>?&#8288;axis:int</span> <span>&#45;&gt;</span> <span>(int <span>&#45;&gt;</span> int <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a>)</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-filteri_2d"><a href="#val-filteri_2d" class="anchor"></a><code><span class="keyword">val</span> filteri_2d : <span>(int <span>&#45;&gt;</span> int <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> bool)</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <span><span>(int * int)</span> array</span></code></dt><dt class="spec value" id="val-iter2i_2d"><a href="#val-iter2i_2d" class="anchor"></a><code><span class="keyword">val</span> iter2i_2d : <span>(int <span>&#45;&gt;</span> int <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> unit)</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-map2i_2d"><a href="#val-map2i_2d" class="anchor"></a><code><span class="keyword">val</span> map2i_2d : <span>(int <span>&#45;&gt;</span> int <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a>)</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-iter2i"><a href="#val-iter2i" class="anchor"></a><code><span class="keyword">val</span> iter2i : <span>(int <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> unit)</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-iter2"><a href="#val-iter2" class="anchor"></a><code><span class="keyword">val</span> iter2 : <span>(<a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> unit)</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-map2i"><a href="#val-map2i" class="anchor"></a><code><span class="keyword">val</span> map2i : <span>(int <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a>)</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-map2"><a href="#val-map2" class="anchor"></a><code><span class="keyword">val</span> map2 : <span>(<a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a>)</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-iteri_rows"><a href="#val-iteri_rows" class="anchor"></a><code><span class="keyword">val</span> iteri_rows : <span>(int <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit)</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-iter_rows"><a href="#val-iter_rows" class="anchor"></a><code><span class="keyword">val</span> iter_rows : <span>(<a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit)</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-iter2i_rows"><a href="#val-iter2i_rows" class="anchor"></a><code><span class="keyword">val</span> iter2i_rows : <span>(int <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit)</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-iter2_rows"><a href="#val-iter2_rows" class="anchor"></a><code><span class="keyword">val</span> iter2_rows : <span>(<a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit)</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-iteri_cols"><a href="#val-iteri_cols" class="anchor"></a><code><span class="keyword">val</span> iteri_cols : <span>(int <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit)</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-iter_cols"><a href="#val-iter_cols" class="anchor"></a><code><span class="keyword">val</span> iter_cols : <span>(<a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit)</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-filteri_rows"><a href="#val-filteri_rows" class="anchor"></a><code><span class="keyword">val</span> filteri_rows : <span>(int <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> bool)</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <span>int array</span></code></dt><dt class="spec value" id="val-filter_rows"><a href="#val-filter_rows" class="anchor"></a><code><span class="keyword">val</span> filter_rows : <span>(<a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> bool)</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <span>int array</span></code></dt><dt class="spec value" id="val-filteri_cols"><a href="#val-filteri_cols" class="anchor"></a><code><span class="keyword">val</span> filteri_cols : <span>(int <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> bool)</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <span>int array</span></code></dt><dt class="spec value" id="val-filter_cols"><a href="#val-filter_cols" class="anchor"></a><code><span class="keyword">val</span> filter_cols : <span>(<a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> bool)</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <span>int array</span></code></dt><dt class="spec value" id="val-fold_rows"><a href="#val-fold_rows" class="anchor"></a><code><span class="keyword">val</span> fold_rows : <span>(<span class="type-var">'a</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <span class="type-var">'a</span>)</span> <span>&#45;&gt;</span> <span class="type-var">'a</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <span class="type-var">'a</span></code></dt><dt class="spec value" id="val-fold_cols"><a href="#val-fold_cols" class="anchor"></a><code><span class="keyword">val</span> fold_cols : <span>(<span class="type-var">'a</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <span class="type-var">'a</span>)</span> <span>&#45;&gt;</span> <span class="type-var">'a</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <span class="type-var">'a</span></code></dt><dt class="spec value" id="val-mapi_rows"><a href="#val-mapi_rows" class="anchor"></a><code><span class="keyword">val</span> mapi_rows : <span>(int <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <span class="type-var">'a</span>)</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <span><span class="type-var">'a</span> array</span></code></dt><dt class="spec value" id="val-map_rows"><a href="#val-map_rows" class="anchor"></a><code><span class="keyword">val</span> map_rows : <span>(<a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <span class="type-var">'a</span>)</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <span><span class="type-var">'a</span> array</span></code></dt><dt class="spec value" id="val-mapi_cols"><a href="#val-mapi_cols" class="anchor"></a><code><span class="keyword">val</span> mapi_cols : <span>(int <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <span class="type-var">'a</span>)</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <span><span class="type-var">'a</span> array</span></code></dt><dt class="spec value" id="val-map_cols"><a href="#val-map_cols" class="anchor"></a><code><span class="keyword">val</span> map_cols : <span>(<a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <span class="type-var">'a</span>)</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <span><span class="type-var">'a</span> array</span></code></dt><dt class="spec value" id="val-mapi_by_row"><a href="#val-mapi_by_row" class="anchor"></a><code><span class="keyword">val</span> mapi_by_row : int <span>&#45;&gt;</span> <span>(int <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a>)</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-map_by_row"><a href="#val-map_by_row" class="anchor"></a><code><span class="keyword">val</span> map_by_row : int <span>&#45;&gt;</span> <span>(<a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a>)</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-mapi_by_col"><a href="#val-mapi_by_col" class="anchor"></a><code><span class="keyword">val</span> mapi_by_col : int <span>&#45;&gt;</span> <span>(int <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a>)</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-map_by_col"><a href="#val-map_by_col" class="anchor"></a><code><span class="keyword">val</span> map_by_col : int <span>&#45;&gt;</span> <span>(<a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a>)</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-mapi_at_row"><a href="#val-mapi_at_row" class="anchor"></a><code><span class="keyword">val</span> mapi_at_row : <span>(int <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a>)</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> int <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-map_at_row"><a href="#val-map_at_row" class="anchor"></a><code><span class="keyword">val</span> map_at_row : <span>(<a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a>)</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> int <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-mapi_at_col"><a href="#val-mapi_at_col" class="anchor"></a><code><span class="keyword">val</span> mapi_at_col : <span>(int <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a>)</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> int <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-map_at_col"><a href="#val-map_at_col" class="anchor"></a><code><span class="keyword">val</span> map_at_col : <span>(<a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a>)</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> int <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt></dl></section><section><header><h6 id="examin-elements-and-compare-two-matrices"><a href="#examin-elements-and-compare-two-matrices" class="anchor"></a>Examin elements and compare two matrices</h6></header><dl><dt class="spec value" id="val-exists"><a href="#val-exists" class="anchor"></a><code><span class="keyword">val</span> exists : <span>(<a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> bool)</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-not_exists"><a href="#val-not_exists" class="anchor"></a><code><span class="keyword">val</span> not_exists : <span>(<a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> bool)</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-for_all"><a href="#val-for_all" class="anchor"></a><code><span class="keyword">val</span> for_all : <span>(<a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> bool)</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-is_zero"><a href="#val-is_zero" class="anchor"></a><code><span class="keyword">val</span> is_zero : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-is_positive"><a href="#val-is_positive" class="anchor"></a><code><span class="keyword">val</span> is_positive : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-is_negative"><a href="#val-is_negative" class="anchor"></a><code><span class="keyword">val</span> is_negative : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-is_nonpositive"><a href="#val-is_nonpositive" class="anchor"></a><code><span class="keyword">val</span> is_nonpositive : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-is_nonnegative"><a href="#val-is_nonnegative" class="anchor"></a><code><span class="keyword">val</span> is_nonnegative : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-is_normal"><a href="#val-is_normal" class="anchor"></a><code><span class="keyword">val</span> is_normal : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-not_nan"><a href="#val-not_nan" class="anchor"></a><code><span class="keyword">val</span> not_nan : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-not_inf"><a href="#val-not_inf" class="anchor"></a><code><span class="keyword">val</span> not_inf : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-equal"><a href="#val-equal" class="anchor"></a><code><span class="keyword">val</span> equal : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-not_equal"><a href="#val-not_equal" class="anchor"></a><code><span class="keyword">val</span> not_equal : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-greater"><a href="#val-greater" class="anchor"></a><code><span class="keyword">val</span> greater : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-less"><a href="#val-less" class="anchor"></a><code><span class="keyword">val</span> less : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-greater_equal"><a href="#val-greater_equal" class="anchor"></a><code><span class="keyword">val</span> greater_equal : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-less_equal"><a href="#val-less_equal" class="anchor"></a><code><span class="keyword">val</span> less_equal : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-elt_equal"><a href="#val-elt_equal" class="anchor"></a><code><span class="keyword">val</span> elt_equal : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-elt_not_equal"><a href="#val-elt_not_equal" class="anchor"></a><code><span class="keyword">val</span> elt_not_equal : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-elt_less"><a href="#val-elt_less" class="anchor"></a><code><span class="keyword">val</span> elt_less : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-elt_greater"><a href="#val-elt_greater" class="anchor"></a><code><span class="keyword">val</span> elt_greater : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-elt_less_equal"><a href="#val-elt_less_equal" class="anchor"></a><code><span class="keyword">val</span> elt_less_equal : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-elt_greater_equal"><a href="#val-elt_greater_equal" class="anchor"></a><code><span class="keyword">val</span> elt_greater_equal : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-equal_scalar"><a href="#val-equal_scalar" class="anchor"></a><code><span class="keyword">val</span> equal_scalar : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-not_equal_scalar"><a href="#val-not_equal_scalar" class="anchor"></a><code><span class="keyword">val</span> not_equal_scalar : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-less_scalar"><a href="#val-less_scalar" class="anchor"></a><code><span class="keyword">val</span> less_scalar : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-greater_scalar"><a href="#val-greater_scalar" class="anchor"></a><code><span class="keyword">val</span> greater_scalar : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-less_equal_scalar"><a href="#val-less_equal_scalar" class="anchor"></a><code><span class="keyword">val</span> less_equal_scalar : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-greater_equal_scalar"><a href="#val-greater_equal_scalar" class="anchor"></a><code><span class="keyword">val</span> greater_equal_scalar : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-elt_equal_scalar"><a href="#val-elt_equal_scalar" class="anchor"></a><code><span class="keyword">val</span> elt_equal_scalar : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-elt_not_equal_scalar"><a href="#val-elt_not_equal_scalar" class="anchor"></a><code><span class="keyword">val</span> elt_not_equal_scalar : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-elt_less_scalar"><a href="#val-elt_less_scalar" class="anchor"></a><code><span class="keyword">val</span> elt_less_scalar : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-elt_greater_scalar"><a href="#val-elt_greater_scalar" class="anchor"></a><code><span class="keyword">val</span> elt_greater_scalar : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-elt_less_equal_scalar"><a href="#val-elt_less_equal_scalar" class="anchor"></a><code><span class="keyword">val</span> elt_less_equal_scalar : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-elt_greater_equal_scalar"><a href="#val-elt_greater_equal_scalar" class="anchor"></a><code><span class="keyword">val</span> elt_greater_equal_scalar : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-approx_equal"><a href="#val-approx_equal" class="anchor"></a><code><span class="keyword">val</span> approx_equal : <span>?&#8288;eps:float</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-approx_equal_scalar"><a href="#val-approx_equal_scalar" class="anchor"></a><code><span class="keyword">val</span> approx_equal_scalar : <span>?&#8288;eps:float</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-approx_elt_equal"><a href="#val-approx_elt_equal" class="anchor"></a><code><span class="keyword">val</span> approx_elt_equal : <span>?&#8288;eps:float</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-approx_elt_equal_scalar"><a href="#val-approx_elt_equal_scalar" class="anchor"></a><code><span class="keyword">val</span> approx_elt_equal_scalar : <span>?&#8288;eps:float</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt></dl></section><section><header><h6 id="randomisation-functions"><a href="#randomisation-functions" class="anchor"></a>Randomisation functions</h6></header><dl><dt class="spec value" id="val-draw_rows"><a href="#val-draw_rows" class="anchor"></a><code><span class="keyword">val</span> draw_rows : <span>?&#8288;replacement:bool</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> int <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> * <span>int array</span></code></dt><dt class="spec value" id="val-draw_cols"><a href="#val-draw_cols" class="anchor"></a><code><span class="keyword">val</span> draw_cols : <span>?&#8288;replacement:bool</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> int <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> * <span>int array</span></code></dt><dt class="spec value" id="val-draw_rows2"><a href="#val-draw_rows2" class="anchor"></a><code><span class="keyword">val</span> draw_rows2 : <span>?&#8288;replacement:bool</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> int <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> * <a href="index.html#type-mat">mat</a> * <span>int array</span></code></dt><dt class="spec value" id="val-draw_cols2"><a href="#val-draw_cols2" class="anchor"></a><code><span class="keyword">val</span> draw_cols2 : <span>?&#8288;replacement:bool</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> int <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> * <a href="index.html#type-mat">mat</a> * <span>int array</span></code></dt><dt class="spec value" id="val-shuffle_rows"><a href="#val-shuffle_rows" class="anchor"></a><code><span class="keyword">val</span> shuffle_rows : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-shuffle_cols"><a href="#val-shuffle_cols" class="anchor"></a><code><span class="keyword">val</span> shuffle_cols : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-shuffle"><a href="#val-shuffle" class="anchor"></a><code><span class="keyword">val</span> shuffle : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt></dl></section><section><header><h6 id="input/output-and-helper-functions"><a href="#input/output-and-helper-functions" class="anchor"></a>Input/Output and helper functions</h6></header><dl><dt class="spec value" id="val-to_array"><a href="#val-to_array" class="anchor"></a><code><span class="keyword">val</span> to_array : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <span><a href="index.html#type-elt">elt</a> array</span></code></dt><dt class="spec value" id="val-of_array"><a href="#val-of_array" class="anchor"></a><code><span class="keyword">val</span> of_array : <span><a href="index.html#type-elt">elt</a> array</span> <span>&#45;&gt;</span> int <span>&#45;&gt;</span> int <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-to_arrays"><a href="#val-to_arrays" class="anchor"></a><code><span class="keyword">val</span> to_arrays : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <span><span><a href="index.html#type-elt">elt</a> array</span> array</span></code></dt><dt class="spec value" id="val-of_arrays"><a href="#val-of_arrays" class="anchor"></a><code><span class="keyword">val</span> of_arrays : <span><span><a href="index.html#type-elt">elt</a> array</span> array</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-to_rows"><a href="#val-to_rows" class="anchor"></a><code><span class="keyword">val</span> to_rows : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <span><a href="index.html#type-mat">mat</a> array</span></code></dt><dt class="spec value" id="val-of_rows"><a href="#val-of_rows" class="anchor"></a><code><span class="keyword">val</span> of_rows : <span><a href="index.html#type-mat">mat</a> array</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-to_cols"><a href="#val-to_cols" class="anchor"></a><code><span class="keyword">val</span> to_cols : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <span><a href="index.html#type-mat">mat</a> array</span></code></dt><dt class="spec value" id="val-of_cols"><a href="#val-of_cols" class="anchor"></a><code><span class="keyword">val</span> of_cols : <span><a href="index.html#type-mat">mat</a> array</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-print"><a href="#val-print" class="anchor"></a><code><span class="keyword">val</span> print : <span>?&#8288;max_row:int</span> <span>&#45;&gt;</span> <span>?&#8288;max_col:int</span> <span>&#45;&gt;</span> <span>?&#8288;header:bool</span> <span>&#45;&gt;</span> <span>?&#8288;fmt:<span>(<a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> string)</span></span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-save"><a href="#val-save" class="anchor"></a><code><span class="keyword">val</span> save : <span>out:string</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-load"><a href="#val-load" class="anchor"></a><code><span class="keyword">val</span> load : string <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-save_txt"><a href="#val-save_txt" class="anchor"></a><code><span class="keyword">val</span> save_txt : <span>?&#8288;sep:string</span> <span>&#45;&gt;</span> <span>?&#8288;append:bool</span> <span>&#45;&gt;</span> <span>out:string</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-load_txt"><a href="#val-load_txt" class="anchor"></a><code><span class="keyword">val</span> load_txt : <span>?&#8288;sep:string</span> <span>&#45;&gt;</span> string <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-save_npy"><a href="#val-save_npy" class="anchor"></a><code><span class="keyword">val</span> save_npy : <span>out:string</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-load_npy"><a href="#val-load_npy" class="anchor"></a><code><span class="keyword">val</span> load_npy : string <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt></dl></section><section><header><h6 id="unary-mathematical-operations"><a href="#unary-mathematical-operations" class="anchor"></a>Unary mathematical operations</h6></header><dl><dt class="spec value" id="val-min"><a href="#val-min" class="anchor"></a><code><span class="keyword">val</span> min : <span>?&#8288;axis:int</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-min'"><a href="#val-min'" class="anchor"></a><code><span class="keyword">val</span> min' : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a></code></dt><dt class="spec value" id="val-max"><a href="#val-max" class="anchor"></a><code><span class="keyword">val</span> max : <span>?&#8288;axis:int</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-max'"><a href="#val-max'" class="anchor"></a><code><span class="keyword">val</span> max' : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a></code></dt><dt class="spec value" id="val-minmax"><a href="#val-minmax" class="anchor"></a><code><span class="keyword">val</span> minmax : <span>?&#8288;axis:int</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> * <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-minmax'"><a href="#val-minmax'" class="anchor"></a><code><span class="keyword">val</span> minmax' : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> * <a href="index.html#type-elt">elt</a></code></dt><dt class="spec value" id="val-min_i"><a href="#val-min_i" class="anchor"></a><code><span class="keyword">val</span> min_i : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> * <span>int array</span></code></dt><dt class="spec value" id="val-max_i"><a href="#val-max_i" class="anchor"></a><code><span class="keyword">val</span> max_i : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> * <span>int array</span></code></dt><dt class="spec value" id="val-minmax_i"><a href="#val-minmax_i" class="anchor"></a><code><span class="keyword">val</span> minmax_i : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <span>(<a href="index.html#type-elt">elt</a> * <span>int array</span>)</span> * <span>(<a href="index.html#type-elt">elt</a> * <span>int array</span>)</span></code></dt><dt class="spec value" id="val-trace"><a href="#val-trace" class="anchor"></a><code><span class="keyword">val</span> trace : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a></code></dt><dt class="spec value" id="val-sum"><a href="#val-sum" class="anchor"></a><code><span class="keyword">val</span> sum : <span>?&#8288;axis:int</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-sum'"><a href="#val-sum'" class="anchor"></a><code><span class="keyword">val</span> sum' : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a></code></dt><dt class="spec value" id="val-prod"><a href="#val-prod" class="anchor"></a><code><span class="keyword">val</span> prod : <span>?&#8288;axis:int</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-prod'"><a href="#val-prod'" class="anchor"></a><code><span class="keyword">val</span> prod' : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a></code></dt><dt class="spec value" id="val-mean"><a href="#val-mean" class="anchor"></a><code><span class="keyword">val</span> mean : <span>?&#8288;axis:int</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-mean'"><a href="#val-mean'" class="anchor"></a><code><span class="keyword">val</span> mean' : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a></code></dt><dt class="spec value" id="val-var"><a href="#val-var" class="anchor"></a><code><span class="keyword">val</span> var : <span>?&#8288;axis:int</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-var'"><a href="#val-var'" class="anchor"></a><code><span class="keyword">val</span> var' : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a></code></dt><dt class="spec value" id="val-std"><a href="#val-std" class="anchor"></a><code><span class="keyword">val</span> std : <span>?&#8288;axis:int</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-std'"><a href="#val-std'" class="anchor"></a><code><span class="keyword">val</span> std' : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a></code></dt><dt class="spec value" id="val-sum_rows"><a href="#val-sum_rows" class="anchor"></a><code><span class="keyword">val</span> sum_rows : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-sum_cols"><a href="#val-sum_cols" class="anchor"></a><code><span class="keyword">val</span> sum_cols : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-mean_rows"><a href="#val-mean_rows" class="anchor"></a><code><span class="keyword">val</span> mean_rows : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-mean_cols"><a href="#val-mean_cols" class="anchor"></a><code><span class="keyword">val</span> mean_cols : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-abs"><a href="#val-abs" class="anchor"></a><code><span class="keyword">val</span> abs : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-abs2"><a href="#val-abs2" class="anchor"></a><code><span class="keyword">val</span> abs2 : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-conj"><a href="#val-conj" class="anchor"></a><code><span class="keyword">val</span> conj : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-neg"><a href="#val-neg" class="anchor"></a><code><span class="keyword">val</span> neg : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-reci"><a href="#val-reci" class="anchor"></a><code><span class="keyword">val</span> reci : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-reci_tol"><a href="#val-reci_tol" class="anchor"></a><code><span class="keyword">val</span> reci_tol : <span>?&#8288;tol:<a href="index.html#type-elt">elt</a></span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-sqr"><a href="#val-sqr" class="anchor"></a><code><span class="keyword">val</span> sqr : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-sqrt"><a href="#val-sqrt" class="anchor"></a><code><span class="keyword">val</span> sqrt : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-cbrt"><a href="#val-cbrt" class="anchor"></a><code><span class="keyword">val</span> cbrt : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-exp"><a href="#val-exp" class="anchor"></a><code><span class="keyword">val</span> exp : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-exp2"><a href="#val-exp2" class="anchor"></a><code><span class="keyword">val</span> exp2 : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-exp10"><a href="#val-exp10" class="anchor"></a><code><span class="keyword">val</span> exp10 : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-expm1"><a href="#val-expm1" class="anchor"></a><code><span class="keyword">val</span> expm1 : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-log"><a href="#val-log" class="anchor"></a><code><span class="keyword">val</span> log : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-log10"><a href="#val-log10" class="anchor"></a><code><span class="keyword">val</span> log10 : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-log2"><a href="#val-log2" class="anchor"></a><code><span class="keyword">val</span> log2 : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-log1p"><a href="#val-log1p" class="anchor"></a><code><span class="keyword">val</span> log1p : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-sin"><a href="#val-sin" class="anchor"></a><code><span class="keyword">val</span> sin : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-cos"><a href="#val-cos" class="anchor"></a><code><span class="keyword">val</span> cos : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-tan"><a href="#val-tan" class="anchor"></a><code><span class="keyword">val</span> tan : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-asin"><a href="#val-asin" class="anchor"></a><code><span class="keyword">val</span> asin : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-acos"><a href="#val-acos" class="anchor"></a><code><span class="keyword">val</span> acos : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-atan"><a href="#val-atan" class="anchor"></a><code><span class="keyword">val</span> atan : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-sinh"><a href="#val-sinh" class="anchor"></a><code><span class="keyword">val</span> sinh : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-cosh"><a href="#val-cosh" class="anchor"></a><code><span class="keyword">val</span> cosh : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-tanh"><a href="#val-tanh" class="anchor"></a><code><span class="keyword">val</span> tanh : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-asinh"><a href="#val-asinh" class="anchor"></a><code><span class="keyword">val</span> asinh : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-acosh"><a href="#val-acosh" class="anchor"></a><code><span class="keyword">val</span> acosh : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-atanh"><a href="#val-atanh" class="anchor"></a><code><span class="keyword">val</span> atanh : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-floor"><a href="#val-floor" class="anchor"></a><code><span class="keyword">val</span> floor : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-ceil"><a href="#val-ceil" class="anchor"></a><code><span class="keyword">val</span> ceil : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-round"><a href="#val-round" class="anchor"></a><code><span class="keyword">val</span> round : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-trunc"><a href="#val-trunc" class="anchor"></a><code><span class="keyword">val</span> trunc : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-fix"><a href="#val-fix" class="anchor"></a><code><span class="keyword">val</span> fix : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-modf"><a href="#val-modf" class="anchor"></a><code><span class="keyword">val</span> modf : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> * <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-l1norm"><a href="#val-l1norm" class="anchor"></a><code><span class="keyword">val</span> l1norm : <span>?&#8288;axis:int</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-l1norm'"><a href="#val-l1norm'" class="anchor"></a><code><span class="keyword">val</span> l1norm' : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a></code></dt><dt class="spec value" id="val-l2norm"><a href="#val-l2norm" class="anchor"></a><code><span class="keyword">val</span> l2norm : <span>?&#8288;axis:int</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-l2norm'"><a href="#val-l2norm'" class="anchor"></a><code><span class="keyword">val</span> l2norm' : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a></code></dt><dt class="spec value" id="val-l2norm_sqr"><a href="#val-l2norm_sqr" class="anchor"></a><code><span class="keyword">val</span> l2norm_sqr : <span>?&#8288;axis:int</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-l2norm_sqr'"><a href="#val-l2norm_sqr'" class="anchor"></a><code><span class="keyword">val</span> l2norm_sqr' : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a></code></dt><dt class="spec value" id="val-vecnorm"><a href="#val-vecnorm" class="anchor"></a><code><span class="keyword">val</span> vecnorm : <span>?&#8288;axis:int</span> <span>&#45;&gt;</span> <span>?&#8288;p:float</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-vecnorm'"><a href="#val-vecnorm'" class="anchor"></a><code><span class="keyword">val</span> vecnorm' : <span>?&#8288;p:float</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a></code></dt><dt class="spec value" id="val-cumsum"><a href="#val-cumsum" class="anchor"></a><code><span class="keyword">val</span> cumsum : <span>?&#8288;axis:int</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-cumprod"><a href="#val-cumprod" class="anchor"></a><code><span class="keyword">val</span> cumprod : <span>?&#8288;axis:int</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-cummin"><a href="#val-cummin" class="anchor"></a><code><span class="keyword">val</span> cummin : <span>?&#8288;axis:int</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-cummax"><a href="#val-cummax" class="anchor"></a><code><span class="keyword">val</span> cummax : <span>?&#8288;axis:int</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-diff"><a href="#val-diff" class="anchor"></a><code><span class="keyword">val</span> diff : <span>?&#8288;axis:int</span> <span>&#45;&gt;</span> <span>?&#8288;n:int</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-var"><a href="#val-var" class="anchor"></a><code><span class="keyword">val</span> var : <span>?&#8288;axis:int</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-std"><a href="#val-std" class="anchor"></a><code><span class="keyword">val</span> std : <span>?&#8288;axis:int</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-mat2gray"><a href="#val-mat2gray" class="anchor"></a><code><span class="keyword">val</span> mat2gray : <span>?&#8288;amin:<a href="index.html#type-elt">elt</a></span> <span>&#45;&gt;</span> <span>?&#8288;amax:<a href="index.html#type-elt">elt</a></span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-lgamma"><a href="#val-lgamma" class="anchor"></a><code><span class="keyword">val</span> lgamma : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt></dl></section><section><header><h6 id="binary-mathematical-operations"><a href="#binary-mathematical-operations" class="anchor"></a>Binary mathematical operations</h6></header><dl><dt class="spec value" id="val-add"><a href="#val-add" class="anchor"></a><code><span class="keyword">val</span> add : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-sub"><a href="#val-sub" class="anchor"></a><code><span class="keyword">val</span> sub : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-mul"><a href="#val-mul" class="anchor"></a><code><span class="keyword">val</span> mul : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-div"><a href="#val-div" class="anchor"></a><code><span class="keyword">val</span> div : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-add_scalar"><a href="#val-add_scalar" class="anchor"></a><code><span class="keyword">val</span> add_scalar : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-sub_scalar"><a href="#val-sub_scalar" class="anchor"></a><code><span class="keyword">val</span> sub_scalar : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-mul_scalar"><a href="#val-mul_scalar" class="anchor"></a><code><span class="keyword">val</span> mul_scalar : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-div_scalar"><a href="#val-div_scalar" class="anchor"></a><code><span class="keyword">val</span> div_scalar : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-scalar_add"><a href="#val-scalar_add" class="anchor"></a><code><span class="keyword">val</span> scalar_add : <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-scalar_sub"><a href="#val-scalar_sub" class="anchor"></a><code><span class="keyword">val</span> scalar_sub : <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-scalar_mul"><a href="#val-scalar_mul" class="anchor"></a><code><span class="keyword">val</span> scalar_mul : <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-scalar_div"><a href="#val-scalar_div" class="anchor"></a><code><span class="keyword">val</span> scalar_div : <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-dot"><a href="#val-dot" class="anchor"></a><code><span class="keyword">val</span> dot : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-add_diag"><a href="#val-add_diag" class="anchor"></a><code><span class="keyword">val</span> add_diag : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-pow"><a href="#val-pow" class="anchor"></a><code><span class="keyword">val</span> pow : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-scalar_pow"><a href="#val-scalar_pow" class="anchor"></a><code><span class="keyword">val</span> scalar_pow : <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-pow_scalar"><a href="#val-pow_scalar" class="anchor"></a><code><span class="keyword">val</span> pow_scalar : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-min2"><a href="#val-min2" class="anchor"></a><code><span class="keyword">val</span> min2 : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-max2"><a href="#val-max2" class="anchor"></a><code><span class="keyword">val</span> max2 : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-ssqr'"><a href="#val-ssqr'" class="anchor"></a><code><span class="keyword">val</span> ssqr' : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a></code></dt><dt class="spec value" id="val-ssqr_diff'"><a href="#val-ssqr_diff'" class="anchor"></a><code><span class="keyword">val</span> ssqr_diff' : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a></code></dt><dt class="spec value" id="val-clip_by_value"><a href="#val-clip_by_value" class="anchor"></a><code><span class="keyword">val</span> clip_by_value : <span>?&#8288;amin:<a href="index.html#type-elt">elt</a></span> <span>&#45;&gt;</span> <span>?&#8288;amax:<a href="index.html#type-elt">elt</a></span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-cov"><a href="#val-cov" class="anchor"></a><code><span class="keyword">val</span> cov : <span>?&#8288;b:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> <span>a:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-kron"><a href="#val-kron" class="anchor"></a><code><span class="keyword">val</span> kron : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-fma"><a href="#val-fma" class="anchor"></a><code><span class="keyword">val</span> fma : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt></dl></section><section><header><h6 id="fucntions-of-in-place-modification"><a href="#fucntions-of-in-place-modification" class="anchor"></a>Fucntions of in-place modification</h6></header><dl><dt class="spec value" id="val-create_"><a href="#val-create_" class="anchor"></a><code><span class="keyword">val</span> create_ : <span>out:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-uniform_"><a href="#val-uniform_" class="anchor"></a><code><span class="keyword">val</span> uniform_ : <span>?&#8288;a:<a href="index.html#type-elt">elt</a></span> <span>&#45;&gt;</span> <span>?&#8288;b:<a href="index.html#type-elt">elt</a></span> <span>&#45;&gt;</span> <span>out:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-bernoulli_"><a href="#val-bernoulli_" class="anchor"></a><code><span class="keyword">val</span> bernoulli_ : <span>?&#8288;p:float</span> <span>&#45;&gt;</span> <span>out:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-zeros_"><a href="#val-zeros_" class="anchor"></a><code><span class="keyword">val</span> zeros_ : <span>out:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-ones_"><a href="#val-ones_" class="anchor"></a><code><span class="keyword">val</span> ones_ : <span>out:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-sort_"><a href="#val-sort_" class="anchor"></a><code><span class="keyword">val</span> sort_ : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-one_hot_"><a href="#val-one_hot_" class="anchor"></a><code><span class="keyword">val</span> one_hot_ : <span>out:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> int <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-copy_"><a href="#val-copy_" class="anchor"></a><code><span class="keyword">val</span> copy_ : <span>out:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-reshape_"><a href="#val-reshape_" class="anchor"></a><code><span class="keyword">val</span> reshape_ : <span>out:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-transpose_"><a href="#val-transpose_" class="anchor"></a><code><span class="keyword">val</span> transpose_ : <span>out:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> <span>?&#8288;axis:<span>int array</span></span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-sum_"><a href="#val-sum_" class="anchor"></a><code><span class="keyword">val</span> sum_ : <span>out:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> <span>axis:int</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-min_"><a href="#val-min_" class="anchor"></a><code><span class="keyword">val</span> min_ : <span>out:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> <span>axis:int</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-max_"><a href="#val-max_" class="anchor"></a><code><span class="keyword">val</span> max_ : <span>out:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> <span>axis:int</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-add_"><a href="#val-add_" class="anchor"></a><code><span class="keyword">val</span> add_ : <span>?&#8288;out:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-sub_"><a href="#val-sub_" class="anchor"></a><code><span class="keyword">val</span> sub_ : <span>?&#8288;out:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-mul_"><a href="#val-mul_" class="anchor"></a><code><span class="keyword">val</span> mul_ : <span>?&#8288;out:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-div_"><a href="#val-div_" class="anchor"></a><code><span class="keyword">val</span> div_ : <span>?&#8288;out:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-pow_"><a href="#val-pow_" class="anchor"></a><code><span class="keyword">val</span> pow_ : <span>?&#8288;out:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-atan2_"><a href="#val-atan2_" class="anchor"></a><code><span class="keyword">val</span> atan2_ : <span>?&#8288;out:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-hypot_"><a href="#val-hypot_" class="anchor"></a><code><span class="keyword">val</span> hypot_ : <span>?&#8288;out:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-fmod_"><a href="#val-fmod_" class="anchor"></a><code><span class="keyword">val</span> fmod_ : <span>?&#8288;out:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-min2_"><a href="#val-min2_" class="anchor"></a><code><span class="keyword">val</span> min2_ : <span>?&#8288;out:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-max2_"><a href="#val-max2_" class="anchor"></a><code><span class="keyword">val</span> max2_ : <span>?&#8288;out:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-add_scalar_"><a href="#val-add_scalar_" class="anchor"></a><code><span class="keyword">val</span> add_scalar_ : <span>?&#8288;out:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-sub_scalar_"><a href="#val-sub_scalar_" class="anchor"></a><code><span class="keyword">val</span> sub_scalar_ : <span>?&#8288;out:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-mul_scalar_"><a href="#val-mul_scalar_" class="anchor"></a><code><span class="keyword">val</span> mul_scalar_ : <span>?&#8288;out:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-div_scalar_"><a href="#val-div_scalar_" class="anchor"></a><code><span class="keyword">val</span> div_scalar_ : <span>?&#8288;out:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-pow_scalar_"><a href="#val-pow_scalar_" class="anchor"></a><code><span class="keyword">val</span> pow_scalar_ : <span>?&#8288;out:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-atan2_scalar_"><a href="#val-atan2_scalar_" class="anchor"></a><code><span class="keyword">val</span> atan2_scalar_ : <span>?&#8288;out:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-fmod_scalar_"><a href="#val-fmod_scalar_" class="anchor"></a><code><span class="keyword">val</span> fmod_scalar_ : <span>?&#8288;out:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-scalar_add_"><a href="#val-scalar_add_" class="anchor"></a><code><span class="keyword">val</span> scalar_add_ : <span>?&#8288;out:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-scalar_sub_"><a href="#val-scalar_sub_" class="anchor"></a><code><span class="keyword">val</span> scalar_sub_ : <span>?&#8288;out:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-scalar_mul_"><a href="#val-scalar_mul_" class="anchor"></a><code><span class="keyword">val</span> scalar_mul_ : <span>?&#8288;out:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-scalar_div_"><a href="#val-scalar_div_" class="anchor"></a><code><span class="keyword">val</span> scalar_div_ : <span>?&#8288;out:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-scalar_pow_"><a href="#val-scalar_pow_" class="anchor"></a><code><span class="keyword">val</span> scalar_pow_ : <span>?&#8288;out:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-scalar_atan2_"><a href="#val-scalar_atan2_" class="anchor"></a><code><span class="keyword">val</span> scalar_atan2_ : <span>?&#8288;out:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-scalar_fmod_"><a href="#val-scalar_fmod_" class="anchor"></a><code><span class="keyword">val</span> scalar_fmod_ : <span>?&#8288;out:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-fma_"><a href="#val-fma_" class="anchor"></a><code><span class="keyword">val</span> fma_ : <span>?&#8288;out:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-dot_"><a href="#val-dot_" class="anchor"></a><code><span class="keyword">val</span> dot_ : <span>?&#8288;transa:bool</span> <span>&#45;&gt;</span> <span>?&#8288;transb:bool</span> <span>&#45;&gt;</span> <span>?&#8288;alpha:<a href="index.html#type-elt">elt</a></span> <span>&#45;&gt;</span> <span>?&#8288;beta:<a href="index.html#type-elt">elt</a></span> <span>&#45;&gt;</span> <span>c:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-conj_"><a href="#val-conj_" class="anchor"></a><code><span class="keyword">val</span> conj_ : <span>?&#8288;out:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-abs_"><a href="#val-abs_" class="anchor"></a><code><span class="keyword">val</span> abs_ : <span>?&#8288;out:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-neg_"><a href="#val-neg_" class="anchor"></a><code><span class="keyword">val</span> neg_ : <span>?&#8288;out:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-reci_"><a href="#val-reci_" class="anchor"></a><code><span class="keyword">val</span> reci_ : <span>?&#8288;out:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-signum_"><a href="#val-signum_" class="anchor"></a><code><span class="keyword">val</span> signum_ : <span>?&#8288;out:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-sqr_"><a href="#val-sqr_" class="anchor"></a><code><span class="keyword">val</span> sqr_ : <span>?&#8288;out:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-sqrt_"><a href="#val-sqrt_" class="anchor"></a><code><span class="keyword">val</span> sqrt_ : <span>?&#8288;out:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-cbrt_"><a href="#val-cbrt_" class="anchor"></a><code><span class="keyword">val</span> cbrt_ : <span>?&#8288;out:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-exp_"><a href="#val-exp_" class="anchor"></a><code><span class="keyword">val</span> exp_ : <span>?&#8288;out:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-exp2_"><a href="#val-exp2_" class="anchor"></a><code><span class="keyword">val</span> exp2_ : <span>?&#8288;out:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-exp10_"><a href="#val-exp10_" class="anchor"></a><code><span class="keyword">val</span> exp10_ : <span>?&#8288;out:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-expm1_"><a href="#val-expm1_" class="anchor"></a><code><span class="keyword">val</span> expm1_ : <span>?&#8288;out:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-log_"><a href="#val-log_" class="anchor"></a><code><span class="keyword">val</span> log_ : <span>?&#8288;out:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-log2_"><a href="#val-log2_" class="anchor"></a><code><span class="keyword">val</span> log2_ : <span>?&#8288;out:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-log10_"><a href="#val-log10_" class="anchor"></a><code><span class="keyword">val</span> log10_ : <span>?&#8288;out:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-log1p_"><a href="#val-log1p_" class="anchor"></a><code><span class="keyword">val</span> log1p_ : <span>?&#8288;out:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-sin_"><a href="#val-sin_" class="anchor"></a><code><span class="keyword">val</span> sin_ : <span>?&#8288;out:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-cos_"><a href="#val-cos_" class="anchor"></a><code><span class="keyword">val</span> cos_ : <span>?&#8288;out:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-tan_"><a href="#val-tan_" class="anchor"></a><code><span class="keyword">val</span> tan_ : <span>?&#8288;out:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-asin_"><a href="#val-asin_" class="anchor"></a><code><span class="keyword">val</span> asin_ : <span>?&#8288;out:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-acos_"><a href="#val-acos_" class="anchor"></a><code><span class="keyword">val</span> acos_ : <span>?&#8288;out:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-atan_"><a href="#val-atan_" class="anchor"></a><code><span class="keyword">val</span> atan_ : <span>?&#8288;out:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-sinh_"><a href="#val-sinh_" class="anchor"></a><code><span class="keyword">val</span> sinh_ : <span>?&#8288;out:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-cosh_"><a href="#val-cosh_" class="anchor"></a><code><span class="keyword">val</span> cosh_ : <span>?&#8288;out:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-tanh_"><a href="#val-tanh_" class="anchor"></a><code><span class="keyword">val</span> tanh_ : <span>?&#8288;out:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-asinh_"><a href="#val-asinh_" class="anchor"></a><code><span class="keyword">val</span> asinh_ : <span>?&#8288;out:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-acosh_"><a href="#val-acosh_" class="anchor"></a><code><span class="keyword">val</span> acosh_ : <span>?&#8288;out:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-atanh_"><a href="#val-atanh_" class="anchor"></a><code><span class="keyword">val</span> atanh_ : <span>?&#8288;out:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-floor_"><a href="#val-floor_" class="anchor"></a><code><span class="keyword">val</span> floor_ : <span>?&#8288;out:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-ceil_"><a href="#val-ceil_" class="anchor"></a><code><span class="keyword">val</span> ceil_ : <span>?&#8288;out:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-round_"><a href="#val-round_" class="anchor"></a><code><span class="keyword">val</span> round_ : <span>?&#8288;out:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-trunc_"><a href="#val-trunc_" class="anchor"></a><code><span class="keyword">val</span> trunc_ : <span>?&#8288;out:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-fix_"><a href="#val-fix_" class="anchor"></a><code><span class="keyword">val</span> fix_ : <span>?&#8288;out:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-erf_"><a href="#val-erf_" class="anchor"></a><code><span class="keyword">val</span> erf_ : <span>?&#8288;out:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-erfc_"><a href="#val-erfc_" class="anchor"></a><code><span class="keyword">val</span> erfc_ : <span>?&#8288;out:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-relu_"><a href="#val-relu_" class="anchor"></a><code><span class="keyword">val</span> relu_ : <span>?&#8288;out:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-softplus_"><a href="#val-softplus_" class="anchor"></a><code><span class="keyword">val</span> softplus_ : <span>?&#8288;out:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-softsign_"><a href="#val-softsign_" class="anchor"></a><code><span class="keyword">val</span> softsign_ : <span>?&#8288;out:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-sigmoid_"><a href="#val-sigmoid_" class="anchor"></a><code><span class="keyword">val</span> sigmoid_ : <span>?&#8288;out:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-softmax_"><a href="#val-softmax_" class="anchor"></a><code><span class="keyword">val</span> softmax_ : <span>?&#8288;out:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> <span>?&#8288;axis:int</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-cumsum_"><a href="#val-cumsum_" class="anchor"></a><code><span class="keyword">val</span> cumsum_ : <span>?&#8288;out:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> <span>?&#8288;axis:int</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-cumprod_"><a href="#val-cumprod_" class="anchor"></a><code><span class="keyword">val</span> cumprod_ : <span>?&#8288;out:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> <span>?&#8288;axis:int</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-cummin_"><a href="#val-cummin_" class="anchor"></a><code><span class="keyword">val</span> cummin_ : <span>?&#8288;out:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> <span>?&#8288;axis:int</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-cummax_"><a href="#val-cummax_" class="anchor"></a><code><span class="keyword">val</span> cummax_ : <span>?&#8288;out:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> <span>?&#8288;axis:int</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-dropout_"><a href="#val-dropout_" class="anchor"></a><code><span class="keyword">val</span> dropout_ : <span>?&#8288;out:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> <span>?&#8288;rate:float</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-elt_equal_"><a href="#val-elt_equal_" class="anchor"></a><code><span class="keyword">val</span> elt_equal_ : <span>?&#8288;out:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-elt_not_equal_"><a href="#val-elt_not_equal_" class="anchor"></a><code><span class="keyword">val</span> elt_not_equal_ : <span>?&#8288;out:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-elt_less_"><a href="#val-elt_less_" class="anchor"></a><code><span class="keyword">val</span> elt_less_ : <span>?&#8288;out:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-elt_greater_"><a href="#val-elt_greater_" class="anchor"></a><code><span class="keyword">val</span> elt_greater_ : <span>?&#8288;out:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-elt_less_equal_"><a href="#val-elt_less_equal_" class="anchor"></a><code><span class="keyword">val</span> elt_less_equal_ : <span>?&#8288;out:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-elt_greater_equal_"><a href="#val-elt_greater_equal_" class="anchor"></a><code><span class="keyword">val</span> elt_greater_equal_ : <span>?&#8288;out:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-elt_equal_scalar_"><a href="#val-elt_equal_scalar_" class="anchor"></a><code><span class="keyword">val</span> elt_equal_scalar_ : <span>?&#8288;out:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-elt_not_equal_scalar_"><a href="#val-elt_not_equal_scalar_" class="anchor"></a><code><span class="keyword">val</span> elt_not_equal_scalar_ : <span>?&#8288;out:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-elt_less_scalar_"><a href="#val-elt_less_scalar_" class="anchor"></a><code><span class="keyword">val</span> elt_less_scalar_ : <span>?&#8288;out:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-elt_greater_scalar_"><a href="#val-elt_greater_scalar_" class="anchor"></a><code><span class="keyword">val</span> elt_greater_scalar_ : <span>?&#8288;out:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-elt_less_equal_scalar_"><a href="#val-elt_less_equal_scalar_" class="anchor"></a><code><span class="keyword">val</span> elt_less_equal_scalar_ : <span>?&#8288;out:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-elt_greater_equal_scalar_"><a href="#val-elt_greater_equal_scalar_" class="anchor"></a><code><span class="keyword">val</span> elt_greater_equal_scalar_ : <span>?&#8288;out:<a href="index.html#type-mat">mat</a></span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> unit</code></dt></dl></section></details></div></div></div><div><div class="spec include"><div class="doc"><details open="open"><summary><span class="def"><code><span class="keyword">include</span> <a href="../../Owl_dense_matrix_intf/index.html#module-type-Real">Owl_dense_matrix_intf.Real</a> <span class="keyword">with</span> <span class="keyword">type</span> <a href="../../Owl_dense_matrix_intf/module-type-Real/index.html#type-elt">elt</a> := <a href="index.html#type-elt">elt</a> <span class="keyword">and</span> <span class="keyword">type</span> <a href="../../Owl_dense_matrix_intf/module-type-Real/index.html#type-mat">mat</a> := <a href="index.html#type-mat">mat</a></code></span></summary><dl><dt class="spec type" id="type-elt"><a href="#type-elt" class="anchor"></a><code><span class="keyword">type</span> elt</code></dt><dt class="spec type" id="type-mat"><a href="#type-mat" class="anchor"></a><code><span class="keyword">type</span> mat</code></dt></dl><section><header><h6 id="specific-real-functions"><a href="#specific-real-functions" class="anchor"></a>Specific real functions</h6></header><dl><dt class="spec value" id="val-semidef"><a href="#val-semidef" class="anchor"></a><code><span class="keyword">val</span> semidef : int <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-min_rows"><a href="#val-min_rows" class="anchor"></a><code><span class="keyword">val</span> min_rows : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <span><span>(<a href="index.html#type-elt">elt</a> * int * int)</span> array</span></code></dt><dt class="spec value" id="val-min_cols"><a href="#val-min_cols" class="anchor"></a><code><span class="keyword">val</span> min_cols : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <span><span>(<a href="index.html#type-elt">elt</a> * int * int)</span> array</span></code></dt><dt class="spec value" id="val-max_rows"><a href="#val-max_rows" class="anchor"></a><code><span class="keyword">val</span> max_rows : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <span><span>(<a href="index.html#type-elt">elt</a> * int * int)</span> array</span></code></dt><dt class="spec value" id="val-max_cols"><a href="#val-max_cols" class="anchor"></a><code><span class="keyword">val</span> max_cols : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <span><span>(<a href="index.html#type-elt">elt</a> * int * int)</span> array</span></code></dt><dt class="spec value" id="val-signum"><a href="#val-signum" class="anchor"></a><code><span class="keyword">val</span> signum : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-erf"><a href="#val-erf" class="anchor"></a><code><span class="keyword">val</span> erf : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-erfc"><a href="#val-erfc" class="anchor"></a><code><span class="keyword">val</span> erfc : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-logistic"><a href="#val-logistic" class="anchor"></a><code><span class="keyword">val</span> logistic : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-relu"><a href="#val-relu" class="anchor"></a><code><span class="keyword">val</span> relu : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-elu"><a href="#val-elu" class="anchor"></a><code><span class="keyword">val</span> elu : <span>?&#8288;alpha:<a href="index.html#type-elt">elt</a></span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-leaky_relu"><a href="#val-leaky_relu" class="anchor"></a><code><span class="keyword">val</span> leaky_relu : <span>?&#8288;alpha:<a href="index.html#type-elt">elt</a></span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-softplus"><a href="#val-softplus" class="anchor"></a><code><span class="keyword">val</span> softplus : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-softsign"><a href="#val-softsign" class="anchor"></a><code><span class="keyword">val</span> softsign : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-softmax"><a href="#val-softmax" class="anchor"></a><code><span class="keyword">val</span> softmax : <span>?&#8288;axis:int</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-sigmoid"><a href="#val-sigmoid" class="anchor"></a><code><span class="keyword">val</span> sigmoid : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-log_sum_exp'"><a href="#val-log_sum_exp'" class="anchor"></a><code><span class="keyword">val</span> log_sum_exp' : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a></code></dt><dt class="spec value" id="val-max_pool"><a href="#val-max_pool" class="anchor"></a><code><span class="keyword">val</span> max_pool : <span>?&#8288;padding:<a href="../../../owl-base/Owl_types/index.html#type-padding">Owl_types.padding</a></span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <span>int array</span> <span>&#45;&gt;</span> <span>int array</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-avg_pool"><a href="#val-avg_pool" class="anchor"></a><code><span class="keyword">val</span> avg_pool : <span>?&#8288;padding:<a href="../../../owl-base/Owl_types/index.html#type-padding">Owl_types.padding</a></span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <span>int array</span> <span>&#45;&gt;</span> <span>int array</span> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-atan2"><a href="#val-atan2" class="anchor"></a><code><span class="keyword">val</span> atan2 : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-scalar_atan2"><a href="#val-scalar_atan2" class="anchor"></a><code><span class="keyword">val</span> scalar_atan2 : <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-atan2_scalar"><a href="#val-atan2_scalar" class="anchor"></a><code><span class="keyword">val</span> atan2_scalar : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-hypot"><a href="#val-hypot" class="anchor"></a><code><span class="keyword">val</span> hypot : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-fmod"><a href="#val-fmod" class="anchor"></a><code><span class="keyword">val</span> fmod : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-fmod_scalar"><a href="#val-fmod_scalar" class="anchor"></a><code><span class="keyword">val</span> fmod_scalar : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-scalar_fmod"><a href="#val-scalar_fmod" class="anchor"></a><code><span class="keyword">val</span> scalar_fmod : <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt><dt class="spec value" id="val-cross_entropy'"><a href="#val-cross_entropy'" class="anchor"></a><code><span class="keyword">val</span> cross_entropy' : <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-elt">elt</a></code></dt><dt class="spec value" id="val-clip_by_l2norm"><a href="#val-clip_by_l2norm" class="anchor"></a><code><span class="keyword">val</span> clip_by_l2norm : <a href="index.html#type-elt">elt</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a> <span>&#45;&gt;</span> <a href="index.html#type-mat">mat</a></code></dt></dl></section></details></div></div></div></details></div></div></div><div><div class="spec include"><div class="doc"><details open="open"><summary><span class="def"><code><span class="keyword">include</span> <a href="../index.html#module-Operator">Operator</a></code></span></summary><div><div class="spec include"><div class="doc"><details open="open"><summary><span class="def"><code><span class="keyword">include</span> <span class="keyword">sig</span> ... <span class="keyword">end</span></code></span></summary><dl><dt class="spec value" id="val-(+)"><a href="#val-(+)" class="anchor"></a><code><span class="keyword">val</span> (+) : <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span></code></dt><dt class="spec value" id="val-(-)"><a href="#val-(-)" class="anchor"></a><code><span class="keyword">val</span> (-) : <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span></code></dt><dt class="spec value" id="val-(*)"><a href="#val-(*)" class="anchor"></a><code><span class="keyword">val</span> (*) : <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span></code></dt><dt class="spec value" id="val-(/)"><a href="#val-(/)" class="anchor"></a><code><span class="keyword">val</span> (/) : <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span></code></dt><dt class="spec value" id="val-(+$)"><a href="#val-(+$)" class="anchor"></a><code><span class="keyword">val</span> (+$) : <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span> <span>&#45;&gt;</span> <span class="type-var">'a</span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span></code></dt><dt class="spec value" id="val-(-$)"><a href="#val-(-$)" class="anchor"></a><code><span class="keyword">val</span> (-$) : <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span> <span>&#45;&gt;</span> <span class="type-var">'a</span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span></code></dt><dt class="spec value" id="val-(*$)"><a href="#val-(*$)" class="anchor"></a><code><span class="keyword">val</span> (*$) : <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span> <span>&#45;&gt;</span> <span class="type-var">'a</span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span></code></dt><dt class="spec value" id="val-(/$)"><a href="#val-(/$)" class="anchor"></a><code><span class="keyword">val</span> (/$) : <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span> <span>&#45;&gt;</span> <span class="type-var">'a</span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span></code></dt><dt class="spec value" id="val-($+)"><a href="#val-($+)" class="anchor"></a><code><span class="keyword">val</span> ($+) : <span class="type-var">'a</span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span></code></dt><dt class="spec value" id="val-($-)"><a href="#val-($-)" class="anchor"></a><code><span class="keyword">val</span> ($-) : <span class="type-var">'a</span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span></code></dt><dt class="spec value" id="val-($*)"><a href="#val-($*)" class="anchor"></a><code><span class="keyword">val</span> ($*) : <span class="type-var">'a</span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span></code></dt><dt class="spec value" id="val-($/)"><a href="#val-($/)" class="anchor"></a><code><span class="keyword">val</span> ($/) : <span class="type-var">'a</span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span></code></dt><dt class="spec value" id="val-(=)"><a href="#val-(=)" class="anchor"></a><code><span class="keyword">val</span> (=) : <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span> <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-(!=)"><a href="#val-(!=)" class="anchor"></a><code><span class="keyword">val</span> (!=) : <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span> <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-(&lt;&gt;)"><a href="#val-(&lt;&gt;)" class="anchor"></a><code><span class="keyword">val</span> (&lt;&gt;) : <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span> <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-(&gt;)"><a href="#val-(&gt;)" class="anchor"></a><code><span class="keyword">val</span> (&gt;) : <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span> <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-(&lt;)"><a href="#val-(&lt;)" class="anchor"></a><code><span class="keyword">val</span> (&lt;) : <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span> <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-(&gt;=)"><a href="#val-(&gt;=)" class="anchor"></a><code><span class="keyword">val</span> (&gt;=) : <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span> <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-(&lt;=)"><a href="#val-(&lt;=)" class="anchor"></a><code><span class="keyword">val</span> (&lt;=) : <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span> <span>&#45;&gt;</span> bool</code></dt></dl></details></div></div></div><div><div class="spec include"><div class="doc"><details open="open"><summary><span class="def"><code><span class="keyword">include</span> <span class="keyword">sig</span> ... <span class="keyword">end</span></code></span></summary><dl><dt class="spec value" id="val-(=$)"><a href="#val-(=$)" class="anchor"></a><code><span class="keyword">val</span> (=$) : <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span> <span>&#45;&gt;</span> <span class="type-var">'a</span> <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-(!=$)"><a href="#val-(!=$)" class="anchor"></a><code><span class="keyword">val</span> (!=$) : <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span> <span>&#45;&gt;</span> <span class="type-var">'a</span> <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-(&lt;&gt;$)"><a href="#val-(&lt;&gt;$)" class="anchor"></a><code><span class="keyword">val</span> (&lt;&gt;$) : <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span> <span>&#45;&gt;</span> <span class="type-var">'a</span> <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-(&lt;$)"><a href="#val-(&lt;$)" class="anchor"></a><code><span class="keyword">val</span> (&lt;$) : <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span> <span>&#45;&gt;</span> <span class="type-var">'a</span> <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-(&gt;$)"><a href="#val-(&gt;$)" class="anchor"></a><code><span class="keyword">val</span> (&gt;$) : <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span> <span>&#45;&gt;</span> <span class="type-var">'a</span> <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-(&lt;=$)"><a href="#val-(&lt;=$)" class="anchor"></a><code><span class="keyword">val</span> (&lt;=$) : <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span> <span>&#45;&gt;</span> <span class="type-var">'a</span> <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-(&gt;=$)"><a href="#val-(&gt;=$)" class="anchor"></a><code><span class="keyword">val</span> (&gt;=$) : <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span> <span>&#45;&gt;</span> <span class="type-var">'a</span> <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-(=.)"><a href="#val-(=.)" class="anchor"></a><code><span class="keyword">val</span> (=.) : <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span></code></dt><dt class="spec value" id="val-(!=.)"><a href="#val-(!=.)" class="anchor"></a><code><span class="keyword">val</span> (!=.) : <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span></code></dt><dt class="spec value" id="val-(&lt;&gt;.)"><a href="#val-(&lt;&gt;.)" class="anchor"></a><code><span class="keyword">val</span> (&lt;&gt;.) : <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span></code></dt><dt class="spec value" id="val-(&lt;.)"><a href="#val-(&lt;.)" class="anchor"></a><code><span class="keyword">val</span> (&lt;.) : <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span></code></dt><dt class="spec value" id="val-(&gt;.)"><a href="#val-(&gt;.)" class="anchor"></a><code><span class="keyword">val</span> (&gt;.) : <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span></code></dt><dt class="spec value" id="val-(&lt;=.)"><a href="#val-(&lt;=.)" class="anchor"></a><code><span class="keyword">val</span> (&lt;=.) : <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span></code></dt><dt class="spec value" id="val-(&gt;=.)"><a href="#val-(&gt;=.)" class="anchor"></a><code><span class="keyword">val</span> (&gt;=.) : <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span></code></dt><dt class="spec value" id="val-(=.$)"><a href="#val-(=.$)" class="anchor"></a><code><span class="keyword">val</span> (=.$) : <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span> <span>&#45;&gt;</span> <span class="type-var">'a</span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span></code></dt><dt class="spec value" id="val-(!=.$)"><a href="#val-(!=.$)" class="anchor"></a><code><span class="keyword">val</span> (!=.$) : <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span> <span>&#45;&gt;</span> <span class="type-var">'a</span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span></code></dt><dt class="spec value" id="val-(&lt;&gt;.$)"><a href="#val-(&lt;&gt;.$)" class="anchor"></a><code><span class="keyword">val</span> (&lt;&gt;.$) : <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span> <span>&#45;&gt;</span> <span class="type-var">'a</span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span></code></dt><dt class="spec value" id="val-(&lt;.$)"><a href="#val-(&lt;.$)" class="anchor"></a><code><span class="keyword">val</span> (&lt;.$) : <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span> <span>&#45;&gt;</span> <span class="type-var">'a</span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span></code></dt><dt class="spec value" id="val-(&gt;.$)"><a href="#val-(&gt;.$)" class="anchor"></a><code><span class="keyword">val</span> (&gt;.$) : <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span> <span>&#45;&gt;</span> <span class="type-var">'a</span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span></code></dt><dt class="spec value" id="val-(&lt;=.$)"><a href="#val-(&lt;=.$)" class="anchor"></a><code><span class="keyword">val</span> (&lt;=.$) : <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span> <span>&#45;&gt;</span> <span class="type-var">'a</span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span></code></dt><dt class="spec value" id="val-(&gt;=.$)"><a href="#val-(&gt;=.$)" class="anchor"></a><code><span class="keyword">val</span> (&gt;=.$) : <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span> <span>&#45;&gt;</span> <span class="type-var">'a</span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span></code></dt><dt class="spec value" id="val-(=~)"><a href="#val-(=~)" class="anchor"></a><code><span class="keyword">val</span> (=~) : <span>?&#8288;eps:float</span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span> <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-(=~$)"><a href="#val-(=~$)" class="anchor"></a><code><span class="keyword">val</span> (=~$) : <span>?&#8288;eps:float</span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span> <span>&#45;&gt;</span> <span class="type-var">'a</span> <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-(=~.)"><a href="#val-(=~.)" class="anchor"></a><code><span class="keyword">val</span> (=~.) : <span>?&#8288;eps:float</span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span></code></dt><dt class="spec value" id="val-(=~.$)"><a href="#val-(=~.$)" class="anchor"></a><code><span class="keyword">val</span> (=~.$) : <span>?&#8288;eps:float</span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span> <span>&#45;&gt;</span> <span class="type-var">'a</span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span></code></dt><dt class="spec value" id="val-(%)"><a href="#val-(%)" class="anchor"></a><code><span class="keyword">val</span> (%) : <span><span>(float, <span class="type-var">'a</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span> <span>&#45;&gt;</span> <span><span>(float, <span class="type-var">'a</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span> <span>&#45;&gt;</span> <span><span>(float, <span class="type-var">'a</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span></code></dt><dt class="spec value" id="val-(%$)"><a href="#val-(%$)" class="anchor"></a><code><span class="keyword">val</span> (%$) : <span><span>(float, <span class="type-var">'a</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span> <span>&#45;&gt;</span> float <span>&#45;&gt;</span> <span><span>(float, <span class="type-var">'a</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span></code></dt><dt class="spec value" id="val-(**)"><a href="#val-(**)" class="anchor"></a><code><span class="keyword">val</span> (**) : <span><span>(float, <span class="type-var">'a</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span> <span>&#45;&gt;</span> <span><span>(float, <span class="type-var">'a</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span> <span>&#45;&gt;</span> <span><span>(float, <span class="type-var">'a</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span></code></dt><dt class="spec value" id="val-($**)"><a href="#val-($**)" class="anchor"></a><code><span class="keyword">val</span> ($**) : float <span>&#45;&gt;</span> <span><span>(float, <span class="type-var">'a</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span> <span>&#45;&gt;</span> <span><span>(float, <span class="type-var">'a</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span></code></dt><dt class="spec value" id="val-(**$)"><a href="#val-(**$)" class="anchor"></a><code><span class="keyword">val</span> (**$) : <span><span>(float, <span class="type-var">'a</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span> <span>&#45;&gt;</span> float <span>&#45;&gt;</span> <span><span>(float, <span class="type-var">'a</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span></code></dt><dt class="spec value" id="val-(+=)"><a href="#val-(+=)" class="anchor"></a><code><span class="keyword">val</span> (+=) : <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-(-=)"><a href="#val-(-=)" class="anchor"></a><code><span class="keyword">val</span> (-=) : <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-(*=)"><a href="#val-(*=)" class="anchor"></a><code><span class="keyword">val</span> (*=) : <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-(/=)"><a href="#val-(/=)" class="anchor"></a><code><span class="keyword">val</span> (/=) : <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-(+$=)"><a href="#val-(+$=)" class="anchor"></a><code><span class="keyword">val</span> (+$=) : <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span> <span>&#45;&gt;</span> <span class="type-var">'a</span> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-(-$=)"><a href="#val-(-$=)" class="anchor"></a><code><span class="keyword">val</span> (-$=) : <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span> <span>&#45;&gt;</span> <span class="type-var">'a</span> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-(*$=)"><a href="#val-(*$=)" class="anchor"></a><code><span class="keyword">val</span> (*$=) : <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span> <span>&#45;&gt;</span> <span class="type-var">'a</span> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-(/$=)"><a href="#val-(/$=)" class="anchor"></a><code><span class="keyword">val</span> (/$=) : <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span> <span>&#45;&gt;</span> <span class="type-var">'a</span> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-(@=)"><a href="#val-(@=)" class="anchor"></a><code><span class="keyword">val</span> (@=) : <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span></code></dt><dt class="spec value" id="val-(@||)"><a href="#val-(@||)" class="anchor"></a><code><span class="keyword">val</span> (@||) : <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span></code></dt><dt class="spec value" id="val-(.!{})"><a href="#val-(.!{})" class="anchor"></a><code><span class="keyword">val</span> (.!{}) : <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span> <span>&#45;&gt;</span> <span><a href="../../../owl-base/Owl_types/index.html#type-index">Owl_types.index</a> list</span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span></code></dt><dt class="spec value" id="val-(.!{}&lt;-)"><a href="#val-(.!{}&lt;-)" class="anchor"></a><code><span class="keyword">val</span> (.!{}&lt;-) : <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span> <span>&#45;&gt;</span> <span><a href="../../../owl-base/Owl_types/index.html#type-index">Owl_types.index</a> list</span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-(.${})"><a href="#val-(.${})" class="anchor"></a><code><span class="keyword">val</span> (.${}) : <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span> <span>&#45;&gt;</span> <span><span>int list</span> list</span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span></code></dt><dt class="spec value" id="val-(.${}&lt;-)"><a href="#val-(.${}&lt;-)" class="anchor"></a><code><span class="keyword">val</span> (.${}&lt;-) : <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span> <span>&#45;&gt;</span> <span><span>int list</span> list</span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span> <span>&#45;&gt;</span> unit</code></dt></dl></details></div></div></div><div><div class="spec include"><div class="doc"><details open="open"><summary><span class="def"><code><span class="keyword">include</span> <span class="keyword">sig</span> ... <span class="keyword">end</span></code></span></summary><dl><dt class="spec value" id="val-(*@)"><a href="#val-(*@)" class="anchor"></a><code><span class="keyword">val</span> (*@) : <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span></code></dt><dt class="spec value" id="val-(.%{})"><a href="#val-(.%{})" class="anchor"></a><code><span class="keyword">val</span> (.%{}) : <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span> <span>&#45;&gt;</span> <span>int array</span> <span>&#45;&gt;</span> <span class="type-var">'a</span></code></dt><dt class="spec value" id="val-(.%{}&lt;-)"><a href="#val-(.%{}&lt;-)" class="anchor"></a><code><span class="keyword">val</span> (.%{}&lt;-) : <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_matrix_generic/index.html#type-t">Owl_dense_matrix_generic.t</a></span> <span>&#45;&gt;</span> <span>int array</span> <span>&#45;&gt;</span> <span class="type-var">'a</span> <span>&#45;&gt;</span> unit</code></dt></dl></details></div></div></div><div><div class="spec include"><div class="doc"><details open="open"><summary><span class="def"><code><span class="keyword">include</span> <span class="keyword">sig</span> ... <span class="keyword">end</span></code></span></summary><dl><dt class="spec value" id="val-(**@)"><a href="#val-(**@)" class="anchor"></a><code><span class="keyword">val</span> (**@) : <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_linalg_generic/index.html#type-t">Owl_linalg_generic.t</a></span> <span>&#45;&gt;</span> float <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_linalg_generic/index.html#type-t">Owl_linalg_generic.t</a></span></code></dt><dt class="spec value" id="val-(/@)"><a href="#val-(/@)" class="anchor"></a><code><span class="keyword">val</span> (/@) : <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_linalg_generic/index.html#type-t">Owl_linalg_generic.t</a></span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_linalg_generic/index.html#type-t">Owl_linalg_generic.t</a></span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_linalg_generic/index.html#type-t">Owl_linalg_generic.t</a></span></code></dt></dl></details></div></div></div></details></div></div></div><dl><dt class="spec value" id="val-inv"><a href="#val-inv" class="anchor"></a><code><span class="keyword">val</span> inv : <a href="../../Owl_linalg_s/index.html#type-mat">Owl_linalg_s.mat</a> <span>&#45;&gt;</span> <a href="../../Owl_linalg_s/index.html#type-mat">Owl_linalg_s.mat</a></code></dt><dt class="spec value" id="val-mpow"><a href="#val-mpow" class="anchor"></a><code><span class="keyword">val</span> mpow : <a href="../../Owl_linalg_s/index.html#type-mat">Owl_linalg_s.mat</a> <span>&#45;&gt;</span> float <span>&#45;&gt;</span> <a href="../../Owl_linalg_s/index.html#type-mat">Owl_linalg_s.mat</a></code></dt><dt class="spec value" id="val-diag"><a href="#val-diag" class="anchor"></a><code><span class="keyword">val</span> diag : <span>?&#8288;k:int</span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_ndarray_generic/index.html#type-t">Owl_dense_ndarray_generic.t</a></span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="../../Owl_dense_ndarray_generic/index.html#type-t">Owl_dense_ndarray_generic.t</a></span></code></dt></dl></div></body></html>